package com.yami.shop.consign.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@TableName("tz_consign_situation")
public class ConsignSituation {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;
    private Integer prodId;
    private String shopId;
    private String prodName;
    private String img;
    private String code;
    private String denomId;
    private String dawNameId;
    private String tokenId;
    private String positionId;
    private Integer price;
    private Integer status;
    private Integer sellStatus;
    private Integer shopAuditType;
    private Integer auditType;
    private String userId;
    private String remarks;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private Date updateTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date auditTime;

    @TableField(exist = false)
    private Long auditUser;

    @TableField(exist = false)
    private List<Integer> statusList;
    
}
